package top.broncho.lottery.data.paging

sealed class LoadingState(var isInit: Boolean = false)

class Succeed(isInit: Boolean = false) : LoadingState(isInit)
class Loading(isInit: Boolean = false) : LoadingState(isInit)
class Failed(val t: Throwable? = null, isInit: Boolean = false) : LoadingState(isInit)
class NotMore : LoadingState(false)
class Empty(isInit: Boolean = false) : LoadingState(isInit)